From 4e7a96c5a831882463802cdd4f84fe1464969cb0 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Wed, 23 Mar 2022 12:29:43 +0100
Subject: refactor: use formatjs swc plugin

I'm not able to configure SWC plugins in Next.js so to make it works,
all translation must have an id.
---
 src/pages/thematique/[slug].tsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/pages/thematique/[slug].tsx')

diff --git a/src/pages/thematique/[slug].tsx b/src/pages/thematique/[slug].tsx
index edc4296..db22214 100644
--- a/src/pages/thematique/[slug].tsx
+++ b/src/pages/thematique/[slug].tsx
@@ -128,6 +128,7 @@ const Thematic: NextPageWithLayout<ThematicProps> = ({
           ariaLabel={intl.formatMessage({
             defaultMessage: 'Table of Contents',
             description: 'ThematicPage: ToC sidebar aria-label',
+            id: 'YwvYfw',
           })}
         >
           <ToC />
@@ -141,6 +142,7 @@ const Thematic: NextPageWithLayout<ThematicProps> = ({
                   {
                     defaultMessage: 'All posts in {name}',
                     description: 'ThematicPage: posts list title',
+                    id: 'P7fxX2',
                   },
                   { name: thematic.title }
                 )}
@@ -154,6 +156,7 @@ const Thematic: NextPageWithLayout<ThematicProps> = ({
           ariaLabel={intl.formatMessage({
             defaultMessage: 'Sidebar',
             description: 'ThematicPage: right sidebar aria-label',
+            id: 'syLgY9',
           })}
         >
           <RelatedTopics topics={relatedTopics.current} />
@@ -162,6 +165,7 @@ const Thematic: NextPageWithLayout<ThematicProps> = ({
             title={intl.formatMessage({
               defaultMessage: 'Others thematics',
               description: 'ThematicPage: thematics list widget title',
+              id: 'norrGp',
             })}
           />
         </Sidebar>
-- 
cgit v1.2.3

